<template>
  <div class="doctor-layout">
    <!-- 主内容区域 -->
    <router-view></router-view>

    <!-- 底部导航栏 -->
    <van-tabbar route>
      <van-tabbar-item
        to="/doctor/home"
        icon="home-o"
      >
        工作台
      </van-tabbar-item>
      <van-tabbar-item
        to="/doctor/patients"
        icon="friends-o"
      >
        患者
      </van-tabbar-item>
      <van-tabbar-item
        to="/doctor/profile"
        icon="user-o"
      >
        我的
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup>
</script>

<style lang="scss" scoped>
.doctor-layout {
  min-height: 100vh;
  background-color: #f7f8fa;
}
</style>
